//
// Created by gastonfeng on 2023/8/8.
//

#ifndef RTE_TM2831_DHT_H
#define RTE_TM2831_DHT_H

#include "boardbase.h"

class dht {
public:
    int begin(u8 pin);

    int read11();

    int read2303();
    float temperature;
    float humidity;
    uint32_t pin;
    uint32_t last_tick;
};

#endif // RTE_TM2831_DHT_H
